package com.autumn.context.test.sub02;

import com.autumn.context.annotation.Bean;
import com.autumn.context.annotation.Configuration;
import com.autumn.context.test.Hello;

/**
 * @author niann
 * @description
 * @date 2023/12/31 21:04
 */

@Configuration
public class Sub02 {


    @Bean(initMethod = "init", destroyMethod = "destroy")
    public Hello test() {
        return new Hello();
    }

}
